package com.yigang.entity;
/**
 * @author 陈佳祥
 *订单 实体类
 */
import java.util.Date;

public class Theorder {
	private Integer theorder_id;//订单编号
	private Integer address_id;//地址id  外键
	private Date theorder_time;//订单时间
	private Integer id;// 用户id    外键
	private String theorder_money;//订单金额
	private String theorder_state;//订单状态
	private String freight;//运费
	private Date theorder_paymenttime;//支付时间
	private Date theorder_deliverytime;//完成时间
	private String theorder_note;//订单备注
	private String username;//用户名
	private String address;//地址 

	public Theorder(Integer theorder_id, Integer address_id, Date theorder_time, Integer id, String theorder_money,
			String theorder_state, String freight, Date theorder_paymenttime, Date theorder_deliverytime,
			String theorder_note, String username, String address) {
		super();
		this.theorder_id = theorder_id;
		this.address_id = address_id;
		this.theorder_time = theorder_time;
		this.id = id;
		this.theorder_money = theorder_money;
		this.theorder_state = theorder_state;
		this.freight = freight;
		this.theorder_paymenttime = theorder_paymenttime;
		this.theorder_deliverytime = theorder_deliverytime;
		this.theorder_note = theorder_note;
		this.username = username;
		this.address = address;
	}
	public Integer getTheorder_id() {
		return theorder_id;
	}
	public void setTheorder_id(Integer theorder_id) {
		this.theorder_id = theorder_id;
	}
	public Integer getAddress_id() {
		return address_id;
	}
	public void setAddress_id(Integer address_id) {
		this.address_id = address_id;
	}
	public Date getTheorder_time() {
		return theorder_time;
	}
	public void setTheorder_time(Date theorder_time) {
		this.theorder_time = theorder_time;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTheorder_money() {
		return theorder_money;
	}
	public void setTheorder_money(String theorder_money) {
		this.theorder_money = theorder_money;
	}
	public String getTheorder_state() {
		return theorder_state;
	}
	public void setTheorder_state(String theorder_state) {
		this.theorder_state = theorder_state;
	}
	public String getFreight() {
		return freight;
	}
	public void setFreight(String freight) {
		this.freight = freight;
	}
	public Date getTheorder_paymenttime() {
		return theorder_paymenttime;
	}
	public void setTheorder_paymenttime(Date theorder_paymenttime) {
		this.theorder_paymenttime = theorder_paymenttime;
	}
	public Date getTheorder_deliverytime() {
		return theorder_deliverytime;
	}
	public void setTheorder_deliverytime(Date theorder_deliverytime) {
		this.theorder_deliverytime = theorder_deliverytime;
	}
	public String getTheorder_note() {
		return theorder_note;
	}
	public void setTheorder_note(String theorder_note) {
		this.theorder_note = theorder_note;
	}

	public Theorder() {
		super();
	}
	@Override
	public String toString() {
		return "Theorder [theorder_id=" + theorder_id + ", address_id=" + address_id + ", theorder_time="
				+ theorder_time + ", id=" + id + ", theorder_money=" + theorder_money + ", theorder_state="
				+ theorder_state + ", freight=" + freight + ", theorder_paymenttime=" + theorder_paymenttime
				+ ", theorder_deliverytime=" + theorder_deliverytime + ", theorder_note=" + theorder_note + "]";
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}

	
	
	
}
